package com.xsoft.sms.cmpp20.config;

import com.xsoft.sms.utils.Helpers;
import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

/**
 * package: {PACKAGE_NAME}
 * User: zhanglm
 * Date: 12-9-19
 * Time: 上午11:16
 * Description:
 */
public class Demo {

	static {
		PropertyConfigurator.configure(Helpers.getRuntimePath() + "../conf/log4j.properties");
	}

	private static final Logger logger = Logger.getLogger(Demo.class);

	public static void main(String[] args) {
		try {
			Class.forName("com.xsoft.sms.cmpp20.config.CMPP20Config", true, CMPP20Config.class.getClassLoader());
		} catch (ClassNotFoundException ex) {
			ex.printStackTrace();
			logger.fatal(ex.getMessage());
		}
	}
}
